const path = require("path");

module.exports = {
  // to fix the dynamic chunk path.
  output: {
    chunkFilename: "assets/js/[name].js"
  },
  resolve: {
    alias: {
      src: path.resolve(__dirname, "resources/js/")
    }
  }
};
